package com.financing.platform.dao;

import java.util.List;

import com.financing.platform.dto.SwitchDTO;

public interface ISwitchDao extends IBaseDao {
	
	/**
	 * 
	* @Title: queryAllSwitch 
	* @Description: 查询所有开关信息
	* @return List<SwitchDTO>   
	* @throws
	 */
	public List<SwitchDTO> queryAllSwitch();
	
	/**
	 * 
	* @Title: updateSwitch 
	* @Description: 更新开关状态
	* @param   switchDTO
	* @return int   
	* @throws
	 */
	public int updateSwitch(SwitchDTO switchDTO);
	
	/**
	 * 
	* @Title: addSwitch 
	* @Description: 添加开关
	* @param   switchDTO
	* @return int   
	* @throws
	 */
	public int addSwitch(SwitchDTO switchDTO);
	
	/**
	 * 
	* @Title: querySwitch 
	* @Description: 查询单个开关
	* @param @param switchDTO
	* @param @return    
	* @return SwitchDTO   
	* @throws
	 */
	public SwitchDTO querySwitch(SwitchDTO switchDTO);
	
}
